/************************************************************
 *  * GOSwift CONFIDENTIAL
 * __________________
 * Copyright (C) 2013-2014 CWSwift Technologies. All rights reserved.
 *
 * NOTICE: All information contained herein is, and remains
 * the property of CWSwift Technologies.
 * Dissemination of this information or reproduction of this material
 * is strictly forbidden unless prior written permission is obtained
 * from GOSwift Technologies.
 * knight lu 349919133
 */

#import <UIKit/UIKit.h>

@protocol InputDelegate <NSObject>

- (void)YMReplyInputWithReply:(NSString *)replyText appendTag:(NSInteger)inputTag;
- (void)destorySelf;

@end


@interface YMReplyInputView : UIView<UITextViewDelegate>
{
    CGFloat topGap;
    CGFloat keyboardAnimationDuration;
    UIViewAnimationCurve keyboardAnimationCurve;
    CGFloat keyboardHeight;
    int inputHeight;
    int inputHeightWithShadow;
    BOOL autoResizeOnKeyboardVisibilityChanged;
    UIView *tapView;
    
    
}


@property (strong, nonatomic) UIButton* sendButton;
@property (strong, nonatomic) UITextView* textView;
@property (strong, nonatomic) UILabel* lblPlaceholder;
@property (strong, nonatomic) UIImageView* inputBackgroundView;
@property (strong, nonatomic) UITextField *textViewBackgroundView;
@property (assign, nonatomic) BOOL autoResizeOnKeyboardVisibilityChanged;
@property (readwrite, nonatomic) CGFloat keyboardHeight;
@property (assign, nonatomic) id<InputDelegate>delegate;
@property (assign, nonatomic) NSInteger replyTag;



- (NSString*)text;
- (void)setText:(NSString*)text;
- (void)setPlaceholder:(NSString*)text;
- (void)showCommentView;
- (id) initWithFrame:(CGRect)frame andAboveView:(UIView *)bgView;
- (void)disappear;


@end
